import request from '@/utils/axios/index.js'
const api_name = '/system/dept';

export  const getTreeList  = ()=>{
    return request.post({
        url:`${api_name}/get/tree`
    })
}

export  const loadDeptApi  = (data)=>{
    return request.post({
        url:`${api_name}/getList`,
        data
    })
}

export  const loadDepttApi  = (data)=>{
    return request.get({
        url:`${api_name}/select`,
    })
}